package com.example.server;

import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@MapperScan("com.example.server.mapper")
public class ServerApplication {
    private static final Logger LOGGER = LoggerFactory.getLogger(ServerApplication.class);
    public static void main(String[] args) {
        LOGGER.info("自定义的info信息");
        LOGGER.warn("自定义的warn信息");
        LOGGER.error("自定义的error信息");
        SpringApplication.run(ServerApplication.class, args);
    }

}
